package com.tms.mapper.develop;

import com.tms.domain.RepairApp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ozj
 */
public interface RepairRecordMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(RepairApp record);

    int insertSelective(RepairApp record);

    RepairApp selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RepairApp record);

    int updateByPrimaryKey(RepairApp record);

    List<RepairApp> selectAll(@Param(value = "status") int status, @Param(value = "workcellId") int workcellId);

    List<RepairApp> selectAllOfOperator(@Param(value = "status") int status, @Param(value = "operatorId") int id, @Param(value = "workcellId") int workcellId);

    int selectAllRecord();
}